﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneRed.Main.Comm
{
    public class GlobalVar
    {
        //项目名称
        public static string ProjectName
        {
            get
            {
                return Properties.Settings.Default.ProjectName;
            }
            set
            {
                Properties.Settings.Default.ProjectName = value;
                Properties.Settings.Default.Save();
            }
        }
        //项目路径
        public static string ProjectPath
        {
            get
            {
                return Properties.Settings.Default.ProjectPath;
            }
            set
            {
                Properties.Settings.Default.ProjectPath = value;
                Properties.Settings.Default.Save();
            }
        }

        //public void SaveVar(string sVarName,string sVarVlue)
        //{

        //}
    }
}
